The Crystal Report Engine Class Library

Introduction

The Crystal Report Engine Class (REC) Library provides object oriented programming of the Crystal Report Engine in C++. The Crystal REC Library is based on the Microsoft Foundation Class (MFC) Library. The two Crystal Report Engine Class definitions in the Crystal REC Library are derived from the MFC CObject class.

MFC is a widely available, and highly powerful class library originally designed for use with Microsoft's C++ development environment (Microsoft Visual C++). However, MFC is a complete class library designed for programming Windows applications and can be used with most C++ development environments.

The Crystal REC Library is comprised of two primary classes and several supporting structures. These classes are wrapped around the Crystal Report Engine API, providing an object oriented approach to programming the Crystal Report Engine.

Note:    The Crystal REC Library can be used with any available version of the MFC Library.

The Crystal REC Library was installed in the same directory as Crystal Report (\CRW by default). You need to add the following files to your C++ project to use the Crystal REC Library:

This C++ header file contains the Crystal Report Engine class definitions along with several structure definitions used by the Crystal Report Engine classes. You must #include PEPLUS.H in any code module that will be using the Crystal Report Engine classes.

This C++ source code file contains implementations of all of the class methods for the Crystal REC Library classes. PEPLUS.CPP must be added to your C++ project file in order to use the Crystal REC Library. This code is compiled directly into your Visual C++ project and calls the functions available in the Crystal Report Engine.

As mentioned above, the Crystal REC Library classes are wrapped around the Crystal Report Engine API, and the methods in these classes make direct calls to the functions in the Crystal Report Engine API. For this reason, your project must include the CRPE32M.LIB Crystal Report Engine library. Make sure CRPE32M.LIB has been added to the list of libraries included with your C++ project.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com